/**
 * Copyright (C)
 * FileName: DemoTest
 * Author:   86151
 * Date:     2019/7/12 14:28
 * Description:
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.hand.llq25404.Test;

import com.hand.llq25404.pojo.Person;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

public class DemoTest {
    public static void main(String[] args) {
        ApplicationContext applicationContext = new ClassPathXmlApplicationContext
                ("applicationContext.xml");
        Person person = (Person) applicationContext.getBean("person");
        person.say();
    }
}
